package com.lovo.pis.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

//供应商类
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_supplier")
public class SupplierBean {
    @TableId(value = "id", type = IdType.AUTO)
//    @Excel(name = "主键id")
    private int id;
    @Excel(name = "供应商名称")
    private String name;
    //负责人
    @Excel(name = "负责人")
    private String principal;
    @Excel(name = "负责人电话")
    private String phoneNumber;
    @Excel(name = "供应商地址")
    private String address;
    //经营范围
    @Excel(name = "经营范围")
    private String scope;
}
